<template>
  <div class="app">
    <Person />
    <hr>
    <Car /><hr>
    <Father />
  </div>

</template>

<script lang="ts">
import Person from './components/Person.vue';
import Car from './components/Car.vue';
//暴露出去vue名称
export default {
  name: 'App',
  components: {
    Person,
    Car
  }
}
</script>

<style scoped>
.app {
  background-color: #ddd;
  box-shadow: 0 0 10px;
  border-radius: 10px;
  padding: 40px;
}
</style>